package com.sky.service;

import com.sky.domain.OmsOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.to.order.OmsOrderTo;
import com.sky.vo.OrderSubmitResponseVo;
import com.sky.vo.OrderSubmitVo;
import com.sky.vo.SettlementVo;

/**
* @author Administrator
* @description 针对表【oms_order(订单)】的数据库操作Service
* @createDate 2024-06-30 16:46:10
*/
public interface OmsOrderService extends IService<OmsOrder> {

    /**
     * @author zhl
     * @description 获取当前登录用户的商品结算信息
     * @date 2024/8/29 14:39
     */
    SettlementVo getUserSettlement() throws Exception;

    /**
     * @author zhl
     * @description 生成当前登录用户的商品订单信息
     * @date 2024/8/29 14:39
     */
    OrderSubmitResponseVo submitOrder(OrderSubmitVo orderSubmitVo) throws Exception;

    /**
     * @author zhl
     * @description 根据订单号查询订单信息
     * @date 2024/8/29 14:39
     */
    OmsOrderTo getInfoByOrderSn(String orderSn);
}
